<html dir="LTR" xmlns:ndoc="urn:ndoc-schema">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>Microsoft.Test.VisualVerification</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">TestApi 0.5</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">Microsoft.Test.VisualVerification Namespace</h1>
      </div>
    </div>
    <div id="nstext">
      <p>
        <a href="~Microsoft.Test.VisualVerification~Hierarchy.html">Namespace Hierarchy</a>
      </p>
      <h3 class="dtH3">Classes</h3>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr valign="top">
            <th width="50%">Class</th>
            <th width="50%">Description</th>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.ColorDifference.html">ColorDifference</a>
            </td>
            <td width="50%"> Represents the per-channel difference between two colors. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.Histogram.html">Histogram</a>
            </td>
            <td width="50%"> The Histogram class represents a histogram curve, expressed in terms of frequency (proportion of total pixels) over brightness (from 0 to 255). In other words, the Histogram class represents the percentage (proportion) of pixels that have brightness of 0, 1, etc. <a href="http://en.wikipedia.org/wiki/Image_histogram" xmlns="urn:ndoc-schema">This page</a> provides a good introduction to <i xmlns="urn:ndoc-schema">image histograms</i>. <p xmlns="urn:ndoc-schema"></p> For testing purposes "brightness" is often equated to "difference". Thus, one is able to construct a "difference histogram" from a "difference shapshot" and compare that histogram to a histogram of "expected maximum differences" (also knows as a "tolerance histogram") in order to determine whether a visual verification test passes or fails. <p xmlns="urn:ndoc-schema"></p> A Histogram object can be loaded from a XML file or generated from a Snapshot object. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.Snapshot.html">Snapshot</a>
            </td>
            <td width="50%"> Represents image pixels in a two-dimensional array for use in visual verification. Every element of the array represents a pixel at the given [row, column] of the image. A Snapshot object can be instantiated from a file or captured from the screen. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.SnapshotColorVerifier.html">SnapshotColorVerifier</a>
            </td>
            <td width="50%"> Verifies that all pixels in a Snapshot are within tolerance range of ExpectedColor. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiWpf~Microsoft.Test.VisualVerification.SnapshotHelper.html">SnapshotHelper</a>
            </td>
            <td width="50%"> WPF type centric helper, on top of the general purpose Snapshot. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.SnapshotHistogramVerifier.html">SnapshotHistogramVerifier</a>
            </td>
            <td width="50%"> Verifies a diffed image based on the number of pixels of a given brightness per color. A tolerance Histogram curve can be created from an XML file, produced from a reference image, or manually created for use as a tolerance. <p xmlns="urn:ndoc-schema"></p> For more information on histograms, refer to the description of <a href="TestApiCore~Microsoft.Test.VisualVerification.Histogram.html">Histogram</a>. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.SnapshotToleranceMapVerifier.html">SnapshotToleranceMapVerifier</a>
            </td>
            <td width="50%"> Verifies that all pixels in a Snapshot are within the tolerance range, defined by the tolerance map. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.SnapshotVerifier.html">SnapshotVerifier</a>
            </td>
            <td width="50%"> Base class for all Snapshot verifier types. This establishes a single method contract: Verify(Snapshot). </td>
          </tr>
        </table>
      </div>
      <h3 class="dtH3">Enumerations</h3>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr valign="top">
            <th width="50%">Enumeration</th>
            <th width="50%">Description</th>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.VerificationResult.html">VerificationResult</a>
            </td>
            <td width="50%"> Specifies values used to report the outcome of a verification. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="TestApiCore~Microsoft.Test.VisualVerification.WindowSnapshotMode.html">WindowSnapshotMode</a>
            </td>
            <td width="50%"> WindowSnapshotMode determines if window border should be captured as part of Snapshot. </td>
          </tr>
        </table>
      </div>
    </div>
  </body>
</html>